This code was copied from workspacesView which used the widget's text
direction, but it is no longer in a widget
Fixes #3780
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1724>
const workspaceManager = global.workspace_manager;
const vertical = workspaceManager.layout_rows === -1;
- const rtl = this.text_direction === Clutter.TextDirection.RTL;
+ const rtl = Clutter.get_default_text_direction() === Clutter.TextDirection.RTL;
const activeWs = workspaceManager.get_active_workspace();
let ws;
switch (direction) {